home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_25762.txt < prev    next >
Text File  |  1990-10-02  |  7KB  |  296 lines

  1. -- card: 25762 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 4883
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   send cardOpened to background
  9. end openCard
  10.  
  11. on move
  12.   global direction,blastWall,chase,blasting,causeOfDeath
  13.   if direction = "up" then
  14.     if blastWall then
  15.       go to card 25160
  16.     else
  17.       go to card id 24636
  18.     end if
  19.     exit move
  20.   end if
  21.   if direction = "down" then
  22.     answer "Do you really want to jump from the rope?" with "yes"or"no"
  23.     if it is "no" then exit move
  24.     put "pit1" into causeOfDeath
  25.     go to card id 3409
  26.     exit move
  27.   end if
  28.   pass move
  29. end move
  30.  
  31.  
  32. on closeCard
  33.   set the cursor to 4
  34.   put "" into field 3
  35. end closeCard
  36.  
  37. on take
  38.   global object,carried
  39.   -- remember to update carried if you do not pass take
  40.   pass take
  41. end take
  42.  
  43. on drop
  44.   global object,dropRoom,carried
  45.   put 7465 into dropRoom
  46.   -- remember to update carried if you do not pass drop
  47.   pass drop
  48. end drop
  49.  
  50. on use
  51.   global object,carried
  52.   -- update carried if use results in loss of object
  53.   pass use
  54. end use
  55.  
  56.  
  57.  
  58.  
  59.  
  60. -- part 16 (button)
  61. -- low flags: 80
  62. -- high flags: 2000
  63. -- rect: left=118 top=69 right=105 bottom=152
  64. -- title width / last selected line: 0
  65. -- icon id / first selected line: 9301 / 9301
  66. -- text alignment: 1
  67. -- font id: 0
  68. -- text size: 12
  69. -- style flags: 0
  70. -- line height: 16
  71. -- part name: knife
  72. ----- HyperTalk script -----
  73. on mouseUp
  74.   global takeFlag,examFlag,object,cardID
  75.   put the name of the target into object
  76.   if takeFlag = true
  77.   then send take to card id cardID
  78. else put "a knife" into field 3
  79. put false into examFlag
  80. end mouseUp
  81.  
  82.  
  83.  
  84. -- part 17 (button)
  85. -- low flags: 80
  86. -- high flags: 2000
  87. -- rect: left=89 top=195 right=231 bottom=123
  88. -- title width / last selected line: 0
  89. -- icon id / first selected line: 1015 / 1015
  90. -- text alignment: 1
  91. -- font id: 0
  92. -- text size: 12
  93. -- style flags: 0
  94. -- line height: 16
  95. -- part name: nodule
  96. ----- HyperTalk script -----
  97. on mouseUp
  98.   global takeFlag,examFlag,object,cardID
  99.   put the name of the target into object
  100.   if takeFlag = true
  101.   then send take to card id cardID
  102. else put "a silicon sphere" into field 3
  103. put false into examFlag
  104. end mouseUp
  105.  
  106.  
  107.  
  108. -- part 18 (button)
  109. -- low flags: 80
  110. -- high flags: 2000
  111. -- rect: left=83 top=66 right=102 bottom=117
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 14953 / 14953
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: ladder
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   global takeFlag,examFlag,object,cardID
  123.   put the name of the target into object
  124.   if takeFlag = true
  125.   then send take to card id cardID
  126. else put "a rope ladder" into field 3
  127. put false into examFlag
  128. end mouseUp
  129.  
  130.  
  131.  
  132. -- part 19 (button)
  133. -- low flags: 80
  134. -- high flags: 2000
  135. -- rect: left=122 top=160 right=196 bottom=156
  136. -- title width / last selected line: 0
  137. -- icon id / first selected line: 1019 / 1019
  138. -- text alignment: 1
  139. -- font id: 0
  140. -- text size: 12
  141. -- style flags: 0
  142. -- line height: 16
  143. -- part name: bomb
  144. ----- HyperTalk script -----
  145. on mouseUp
  146.   global takeFlag,examFlag,object,cardID
  147.   put the name of the target into object
  148.   if takeFlag = true
  149.   then send take to card id cardID
  150. else put "a time bomb" into field 3
  151. put false into examFlag
  152. end mouseUp
  153.  
  154.  
  155.  
  156. -- part 20 (button)
  157. -- low flags: 80
  158. -- high flags: 2000
  159. -- rect: left=89 top=160 right=196 bottom=123
  160. -- title width / last selected line: 0
  161. -- icon id / first selected line: 24317 / 24317
  162. -- text alignment: 1
  163. -- font id: 0
  164. -- text size: 12
  165. -- style flags: 0
  166. -- line height: 16
  167. -- part name: key
  168. ----- HyperTalk script -----
  169. on mouseUp
  170.   global takeFlag,examFlag,object,cardID
  171.   put the name of the target into object
  172.   if takeFlag = true
  173.   then send take to card id cardID
  174. else put "a key" into field 3
  175. put false into examFlag
  176. end mouseUp
  177.  
  178.  
  179.  
  180. -- part 21 (button)
  181. -- low flags: 80
  182. -- high flags: 2000
  183. -- rect: left=122 top=125 right=161 bottom=156
  184. -- title width / last selected line: 0
  185. -- icon id / first selected line: 7012 / 7012
  186. -- text alignment: 1
  187. -- font id: 0
  188. -- text size: 12
  189. -- style flags: 0
  190. -- line height: 16
  191. -- part name: gem
  192. ----- HyperTalk script -----
  193. on mouseUp
  194.   global takeFlag,examFlag,object,cardID
  195.   put the name of the target into object
  196.   if takeFlag = true
  197.   then send take to card id cardID
  198. else put "a glowing gem" into field 3
  199. put false into examFlag
  200. end mouseUp
  201.  
  202.  
  203.  
  204. -- part 22 (button)
  205. -- low flags: 80
  206. -- high flags: 2000
  207. -- rect: left=89 top=125 right=161 bottom=123
  208. -- title width / last selected line: 0
  209. -- icon id / first selected line: 23078 / 23078
  210. -- text alignment: 1
  211. -- font id: 0
  212. -- text size: 12
  213. -- style flags: 0
  214. -- line height: 16
  215. -- part name: orb
  216. ----- HyperTalk script -----
  217. on mouseUp
  218.   global takeFlag,examFlag,object,cardID
  219.   put the name of the target into object
  220.   if takeFlag = true
  221.   then send take to card id cardID
  222. else put "a crystal orb" into field 3
  223. put false into examFlag
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 35 (button)
  229. -- low flags: 00
  230. -- high flags: 0000
  231. -- rect: left=25 top=0 right=30 bottom=248
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 1
  235. -- font id: 0
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: 
  240. ----- HyperTalk script -----
  241. on mouseUp
  242.   global examFlag,direction,cardID
  243.   if examFlag then
  244.     put "a rope ladder leading up out of the pit." into field 3
  245.     put false into examFlag
  246.   else
  247.     put "up" into direction
  248.     send move to card id cardID
  249.   end if
  250. end mouseUp
  251.  
  252.  
  253.  
  254. -- part 41 (button)
  255. -- low flags: 00
  256. -- high flags: 0000
  257. -- rect: left=62 top=0 right=242 bottom=165
  258. -- title width / last selected line: 0
  259. -- icon id / first selected line: 0 / 0
  260. -- text alignment: 1
  261. -- font id: 0
  262. -- text size: 12
  263. -- style flags: 0
  264. -- line height: 16
  265. -- part name: 
  266. ----- HyperTalk script -----
  267. on mouseUp
  268.   global examFlag,takeFlag,direction,cardID
  269.   if takeFlag then
  270.     put "You can't take the ladder -- you are hanging on it!" into field 3
  271.     put false into takeFlag
  272.     exit mouseUp
  273.   end if
  274.   if examFlag then
  275.     put "A rope ladder leading up out of the pit." into field 3
  276.     put false into examFlag
  277.     exit mouseUp
  278.   end if
  279.   put "up" into direction
  280.   send move to card id cardID
  281. end mouseUp
  282.  
  283.  
  284.  
  285. -- part contents for background part 25
  286. ----- text -----
  287. End of Ladder in Pit
  288.  
  289. -- part contents for background part 24
  290. ----- text -----
  291. You are at the bottom of the rope ladder in the smooth-walled pit.  The wind is howling furiously around you with a deafening roar.  You can not see the bottom of the pit.
  292.  
  293.  
  294. -- part contents for background part 36
  295. ----- text -----
  296. 1